package com.itheima.api;

import com.itheima.dto.GetOrderDto;
import com.itheima.dto.OmsOrderDto;
import com.itheima.dto.deliveryDto;
import com.itheima.dto.MoneyInfoParam;
import com.itheima.dto.receiverInfoParam;
import com.itheima.vo.MinioVo;
import com.itheima.vo.PageResult;

/**
 * @author 芝士雪豹
 * @create 2022/10/13/20:34
 */
public interface OmsOrderApi {
    //批量删除订单
    MinioVo delete(Integer [] ids);
    //查询订单
    PageResult findOrder(OmsOrderDto dto);
    //批量关闭接口
    MinioVo close(Integer [] ids, String note);
    //批量发货
    MinioVo delivery(deliveryDto dto);
    //修改订单费用信息
    MinioVo moneyInfo(MoneyInfoParam moneyInfoParam);
    //备注订单
    MinioVo note(Integer id, String note, Integer status);
    //修改收货人信息
    MinioVo receiverInfo(receiverInfoParam param);
    //获取订单详情：订单信息、商品信息、操作记录
    GetOrderDto getOrder(Integer id);
}
